Ext.define('cc.self.store.SelfFactory', {
	extend: 'Ext.data.Store',
	reqiures: ['cc.self.model.SelfFactory'],
	model: 'cc.self.model.SelfFactory',

	proxy: {
		type: 'ajax',
		api: {
			read: 'selffactory/list'
		},
		reader: {
			type: 'json',
			rootProperty: 'data',
			totalProperty: 'total',
			messageProperty: 'message'
		}
	}
});
